export default defineEventHandler(async (event) => {
  const body = await readBody(event)
  const knowledge = await event.context.prisma.knowledge.create({
    data: {
      ...body
    }
  })
  return knowledge
})
